home *** CD-ROM | disk | FTP | other *** search
- Path: comp.vuw.ac.nz!welcom!ed.tissink
- From: ed.tissink@welcom.gen.nz (Ed Tissink)
- Newsgroups: comp.lang.c++
- Subject: Minimizing Windows
- Date: Tue, 30 Jan 1996 08:19:29 GMT
- Message-ID: <96013022402735247@welcom.gen.nz>
- Organization: WELCOM BBS
- Distribution: world
-
- Using Turbo C++ 4.5 with OWL 2.5 I am trying to write a program which,
- upon clicking OK in a dialog box, minimizes the main application window,
- but have had very little success in doing so.
-
- Generating, displaying and closing the dialog box is no problem but I am
- unable to tell the application to minimize itself. I have experimented
- with 'Show(SW_MINIMIZE)' and 'ShowWindow(SW_MINIMIZE)' (and a variety of
- other options) but even though when the command is executed a WM_SIZE
- message generated, the window remains on the screen in it's original
- size, and the command appears to have been completely ignored.
-
- Any help or ideas on this are greatly appreciated.
-